package oopinterface.interfaceDemo8;

public interface Inter {
    public static void method1(){
        System.out.println("这是方法1");
        show();
    }
    public static void method2(){
        System.out.println("这是方法2");
        show();
    }

    private static void show(){
        System.out.println("共性抽取show方法");
    }
}
